package com.jingtai.core.entity.member;

import com.baomidou.mybatisplus.annotation.TableName;
import com.jingtai.core.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("shop_member_collect_goods")
@ApiModel(value = "用户收藏商品表", description = "用户收藏商品表")
public class MemberCollectGoods extends BaseEntity implements Serializable {

    /**
     * 用户id
     */
    private Long userId;
    /**
     * 商品ID
     */
    private Long goodsId;
    /**
     * 商品编码
     */
    private String goodsCode;
    /**
     * 商品图片
     */
    private String goodsPicture;
    /**
     * 商品列表页标题
     */
    private String goodsListTitle;
    /**
     * 单价
     */
    private BigDecimal goodsPrice;
    /**
     * 收藏状态 : 0,已收藏;1未收藏
     */
    private Integer isCollect;
}
